
export function specialTime(date) {
    let cur = new Date(),
        stamp = new Date(date),
        rtn = '';
    var year = stamp.getFullYear();
    var month = stamp.getMonth() + 1;
    var day = stamp.getDate() < 10 ? '0' + stamp.getDate() : '' + stamp.getDate();
    rtn = year + '-' + month + '-' + day;
    return rtn;
}